using com.tc.assistance.engine;
using com.tc.assistance.protocol.entity;
using com.tc.zigbee.entity.device;
using com.tc.zigbee.mt;
namespace com.tc.zigbee.controller
{

    public class RemoteListener : ProtocolMessageListener
    {
        ZigbeeManager manager;
        public void onMessage(ProtocolMessage pm)
        {
            ZigbeeDevice d = manager.getDevice(pm.toComponent);
            if (d != null)
                d.action();
        }
        public RemoteListener(ZigbeeManager manager)
        {

            this.manager = manager;
        }


    }
}
